﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="changeConfig.aspx.cs" Inherits="admin_changeConfig" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
        .style1
        {
            width: 720px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
      <table class="style1">
        <tr >
      <td style="height: 21px" >
      <asp:CheckBox 
      ID="CheckBox1" 
      runat="server" 
      Text="限制IP" />
      </td>
      <td style="height: 21px">
      限制时间间隔（小时，请输入正整数）: 
      <asp:TextBox 
      ID="TextBox1" 
      runat="server"/>
      &nbsp;
      <asp:RegularExpressionValidator
      ID="RegularExpressionValidator1" 
      ControlToValidate="TextBox1"
      runat="server" 
      ErrorMessage="输入错误，请重新输入"
      ValidationExpression="^\d+$"/>
     </td>
    </tr>
            
    <tr >
     <td colspan="2" style="height:22px;text-align:left ;">
      //注意，只有当限制IP被设置时，
      限制时间间隔才有效。
      <br />
      <asp:Button 
      ID="Button1" 
      runat="server" 
      onclick="Button1_Click" 
      Text="修改投票属性" />
      </td>
     </tr>
      </table>
    </div>
    </form>
</body>
</html>
